:root {
  --text-color: #000;
  --secondary-color: #5151ef;
  --main-color: white;
  --light-bg-color: rgb(246, 246, 246);
  --dark-bg-color: #0f0f28;
  --sub-text-color: #808080;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: var(--light-bg-color);
  margin: 0;
  color: var(--text-color);
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}

.hero {
  background: var(--dark-bg-color);
  color: var(--main-color);
  text-align: center;
  padding: 60px 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero p {
  color: var(--sub-text-color);
  font-size: 1.2rem;
}

.featured-card {
  display: flex;
  flex-wrap: wrap;
  background: var(--main-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.featured-card img {
  width: 100%;
  max-width: 500px;
  object-fit: cover;
}

.featured-content {
  padding: 30px;
  flex: 1;
}

.featured-content h2 {
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.featured-content p {
  color: var(--sub-text-color);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.blog-card {
  background: var(--main-color);
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(81, 81, 239, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 20px;
}

.blog-content h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.blog-content p {
  color: var(--sub-text-color);
  font-size: 0.95rem;
  line-height: 1.5;
}

.tag {
  display: inline-block;
  background: var(--secondary-color);
  color: white;
  padding: 5px 12px;
  border-radius: 30px;
  font-size: 12px;
  margin-top: 10px;
}

.btn-glow {
  display: inline-block;
  padding: 10px 20px;
  margin-top: 15px;
  background: linear-gradient(135deg, var(--secondary-color), #6c63ff);
  color: white;
  font-weight: bold;
  font-size: 14px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(81, 81, 239, 0.3);
  transition: 0.3s ease;
}

.btn-glow:hover {
  transform: translateY(-3px);
}

.btn-glow.small {
